package com.sq.api.file;

import com.sq.api.dto.FileDto;
import com.sq.common.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "fileServiceApi",url = "http://localhost:8080/file")
public interface FileServiceApi {
    @PostMapping("/upload")
    R upload(FileDto fileDto) ;

    
}
